import service from '@/utils/request'

const ComponentApi = {
  uploadOss (data) {
      // 请求oss, 获取授权
      return service.get('aliyun/sts/token',{ params: data });
  },
  treeProvinceCity(data) {
    // 获取城市树状结构表
    return service.get('area/treePC',{ params: data });
  },
  treeRegion(data) {
    // 获取区域树状结构表
    return service.get('area/tree',{ params: data });
  },

}
export default ComponentApi
